#include<iostream>
using namespace std;


class A
{
public:
	static int a;
	static int b;
};
int A::a = 1;
int A::b = 1;
class B :public A
{
public:
	static int a;
	static int b;
	static int c;

};
int B::a = 2;
int B::b = 2;
int B::c = 2;


int main()
{
	A A1;
	B B1;
	cout << B1.A::a << " " << B1.a;
}